package utils;

import java.util.Scanner;

public class GetUerNumber {
    public static int getUerNumber() {
        Scanner sc = new Scanner(System.in);
        String input = sc.nextLine();
        if(input.isEmpty()){
            return -1;
        }
        try {
            return Integer.parseInt(input);
        }catch (Exception e){

            return -1;
        }
    }
}
